#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;
#include<stack>
#include<queue>
#include<list>
#include<vector>
#include<string>

class A
{
private:
	int _a;
public:
	A(int a = 0)
	{
	}
};

template<class T>
T* func(int n)
{
	T* p = new T[n];
	return p;
}
template<class T>
void Swap(T& left, T& right)
{
	T temp = left;
	left = right;
	right = temp;
}

int main()
{
	A* p1 = new A;
	A* p2 = new A(1);
	A* p3 = new A[10];
	A* p4 = new A[10]{ 2,3,4 };
	delete p1;
	delete[] p4;
	double* p = func<double>(10);
	int a = 1;
	int b = 2;
	Swap(a, b);
	cout << a << b << endl;
	stack<int>s1;
	queue<int>q1;
	list<int>l1;
	vector<int>v1;

	return 0;
}